Getting Started with PCC > Installation > Linux > Installation on a Headless Environment |
The '#' sign in command examples denotes running the command as the root user. All command lines preceded by the '>' sign are the example output of that command, where applicable.
Packages are only available for 64-bit systems. |
Open a command line and change to the location where you downloaded the tarball. Use the following command line examples appropriate for your distribution to:
Example |
Copy Code
|
---|---|
# tar –xzvf prizmcc_<version>_rpm.tar.gz # cd prizmcc_<version>_rpm # yum install –nogpgcheck *.rpm |
Example |
Copy Code
|
---|---|
# tar –xzvf prizmcc_<version>_deb.tar.gz
# cd prizmcc_<version>_deb
# sudo dpkg –i *.deb
# sudo apt-get –f install
|
We also provide a generic .tar.gz package. You will need to install the dependencies described in the Requirements section. Once the dependencies are installed, you can install the .tar.gz with the following commands as root:
Example |
Copy Code
|
---|---|
# tar -xzvf prizm-contentconnect*.tar.gz # tar -xzvf prizm-services*.tar.gz # cp -R prizm /usr/share/ |
Example Copy Code # cd /usr/share/prizm # sh ./setup.sh
The setup script will now invoke a text-based wizard for licensing:
To install a license at the end of the evaluation period, (for example, a deployment license), run the following command:
If you already have a license for PCC, you can use one of the other licensing options, detailed in the Command Line Mode Licensing section of the help.
Example Copy Code# ./setup.sh eval get youremail@example.com
Example Copy Code # cat ./conf/proxyserver_jar.properties | grep license_key > license_key=<long string>
However, if you have an error in the log stating that it cannot connect to the Office converter Worker-1 instance, then you must continue to the 'Step 4 - Running an X Virtual Framebuffer' section below.
A full version of the X11 server is not required to run PCC. However, the minimum requirement is the X Virtual Framebuffer Server, which you can install and run separately from an entire X11 instance.
Debian/Ubuntu
Example Copy Code# sudo apt-get install xvfb
Red Hat / CentOS
Example Copy Code # yum install xorg-x11-server-Xvfb
Example Copy Code# Xvfb :20 >/dev/null 2>&1 & # export DISPLAY=:20
Example Copy Code # /usr/share/prizm/scripts/pccis.sh startRequired:
The X Virtual Framebuffer Server must be running any time that the Prizm service is running.
Suggested:
It may be appropriate to create a script that will start the Xvfb service and Prizm Services (the 3 lines above) to execute whenever the machine is restarted.
PCC will not work on a CentOS 5.x system with the default LibreOffice. For this purpose you need to download and install LibreOffice from libreoffice.org as described in Step 1 above.
Example Copy CodeOffice Document converter installation base directory #odc_installation=/usr/share/prizm/libreoffice odc_installation=/opt/libreoffice4.3
By default this value is:
Example CS Copy Code"officeInstallPath":"../libreoffice/program" or
Example Copy Code "officeInstallPath":"/usr/share/prizm/libreoffice/program"Example of fixed path:
Example Copy Code "officeInstallPath":"/opt/libreoffice4.4/program"